package com.ewzj.bigdata.mvp.model.rspbean

/**
 * author:zhangjing
 * 作用:
 * return:
 */

data class BaseData<T> constructor(var code:Int,var msg: String, var data: T? ){
    /**
     * code : 401
     * msg : sms verification code is not effective
     */
    fun isSuccess():Boolean{
        return code==0
    }

}
